home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 2.1 KB | 61 lines | [TEXT/GEOL] |
- Item 9606521 1-Dec-89 14:04
-
- From: D1282 Power Up,PRT
-
- To: MACAPP.TECH$ MacApp Technical
-
- Sub: Re- DoInitViews()
-
- Attn: MacApp.Tech$
- SentBy: James Plamondon
- Date 12/1/89
- Subject Re- DoInitViews()
- From James Plamondon
- To Drew Pritsker
- CC Mark Gilford
- MacApp.Tech$
-
- Reply to: Re- DoInitViews()
- Dear Mr. Kemink,
-
- That's a reasonable suggestion. However, storing the default values of the
- controls in the dialog means that whenever I add or remove a control from the
- dialog's view resources, I have to change my TMyDialog class to add or remove
- fields to hold the control's defaults.
-
- I gather from my reading of the MacApp documentation that the whole point of
- using view resources is that changes like these can be encapsulated in the
- resources, without requiring modification to the code (just as with MENU
- resources or any other resources). If this interpretation is correct, then
- wouldn't it be defeating the whole purpose of view resources to maintain such
- a list of view defaults in the TMyDialog class?
-
- As to not changing the MacApp source — I am always reluctant to change the
- MacApp source, but I am perfectly willing to do so when such a change corrects
- a defect or adds a significant functionality. MacApp is an amazing piece of
- work — truly a wonder of the age (and I am not being facetious) — but it has
- benefitted, since its inception, from stepwise refinement and response to the
- suggestions of its users.
-
- I think that the functionality provided by DoInitViews(), InitAView(), and
- InitTemplateWindow(), as described in my previous link, provide a significant
- benefit to the MacApp programmer. I need them for my current program, and
- will implement them; I would be happy to share the code (assuming my employer
- does not object), so that it cant find its way into MacApp that much more
- quickly.
-
- I appreciate your helpful response, and am looking forward to hearing from you
- in the future. Until then, I remain
-
- Yours,
-
-
- James Plamondon
- Software Engineer
- PowerUp! Software
- 2929 Campus Drive, Suite 300
- San Mateo, CA 94403
- (415) 345-5900 x351
- AppleLink: PowerUp.Eng
-
-